package minidb.socket;

import java.io.Serializable;

public class ServerPack implements Serializable
{
	public static enum FeedBackType{POSITIVE,NEGATIVE};
	
	public FeedBackType fbType;
	public Serializable data;
	
	public ServerPack(FeedBackType fbType)
	{
		this.fbType=fbType;
	}
	
	public ServerPack(FeedBackType fbType,Serializable data)
	{
		this.fbType=fbType;
		this.data=data;
	}
}
